﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Akso.Bills.Dto;
using Akso.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Bills
{
    public interface IBillAppService:IApplicationService
    {
        Task<ListResultDto<BillListDto>> GetObjects(GetBillsInput input);
        ///// <summary>
        ///// 在新增、编辑数据的弹出对话框中，获取对象的数据。
        ///// </summary>
        ///// <param name="input"></param>
        ///// <returns></returns>
        Task<GetBillForEditOutput> GetObjectForEdit(NullableIdDto<Guid> input);
        Task<Bill> CreateOrUpdateBill(CreateOrUpdateBillInput input);
        Task DeleteObject(EntityDto<Guid> input);
    }
}
